public class Parrot extends Animanl {
    @Override
    public void eat() {

        System.out.println(age+"岁的"+color+"鹦鹉在吃小米");
    }

    public void say()
    {

        System.out.println(age+"岁的"+color+"鹦鹉在说你好");
    }

    public Parrot(String color, int age) {
        super(color, age);
    }
    public Parrot() {
    }


}
